import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'bidCode'
})
export class BidCodePipe implements PipeTransform {

  transform(value: string, prefix = 'J', suffix = ''): any {
    if (value) {
      return prefix + value + suffix;
    }
    return value;
  }

}
